package com.xzy.urp.service;

import com.xzy.urp.pojo.entity.BaseInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xzy.urp.pojo.vo.BaseInfoVO;
import com.xzy.urp.pojo.vo.CourseTimeVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xzy
 * @since 2022-02-17
 */
public interface BaseInfoService extends IService<BaseInfo> {

    List<CourseTimeVO> getTimeByBaseId(Integer baseId);

    List<BaseInfoVO> getAddableBase(Integer semester, Integer section, Integer start, Integer end);

    List<BaseInfoVO> getBaseInfoByBuild(String build);

    List<BaseInfoVO> listAll();

    Boolean isAddable(Integer semester, Integer section, Integer start, Integer end,Integer baseId);
}
